import request from './utils/request'
const api_name = '/eduservice/edu_classs'
export default {

  getClassList(teacherid) {
    return request({
      url: `/eduservice/edu_classs/getClassByTeacherId/${teacherid}`,
      method: 'get'
    })
  },
  getClassByClassId(classId) {
    return request({
      url: `/eduservice/edu_teacher_class/getByTeacher/${classId}`,
      method: 'get'
    })
  },
  getClassByid(id){
    return request({
      url: `/eduservice/edu_classs/${id}`,
      method: 'get'
    })
  },
  download(id){
    return request({
      url: `/eduservice/question_file/userdownload/${id}`,
      method: 'get'
    })
  },
}
